<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jquery入门</title>
    <script src="js/jquery-3.6.0.min.js"></script>
</head>
<body>
      <p id="123">点击我，我会消失。</p>
</body>

    <script>
      $(document).ready(function(){
        $("p").click(function(){
          $(this).hide();
        });
      });

      var $23 = $("123");
      alert($23.html())

    </script>
</html>